import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'

// 导入vant组件
import Vant from 'vant'
import 'vant/lib/index.css'

// 引入全局基础css
import './assets/css/base.css'

// 导入axios
Vue.prototype.$http = axios
axios.defaults.baseURL = 'http://127.0.0.1:9999/api/v1'

Vue.use(Vant)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
